﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ActivationUserList.aspx.cs"
    Inherits="BalanceCenter_ActivationUserList" %>

<%@ Register TagPrefix="ShoveWebUI" Namespace="Shove.Web.UI" Assembly="Shove.Web.UI.2 For.NET 2.0" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>山顶软件 - 会员中心</title>
    <link href="../Style/css.css" rel="stylesheet" type="text/css" />
    <link href="../Style/main.css" rel="stylesheet" type="text/css" />
</head>
<body style="margin-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0;">
    <form id="form1" runat="server">
    <font face="宋体">
        <table id="Table1" cellspacing="0" cellpadding="1" width="99%" border="0" align="center">
            <tr>
                <td colspan="3">
                    <table>
                        <tr>
                            <td align="right" style="height: 25px;" width="60px">
                                会员搜索：
                            </td>
                            <td align="left" valign="top" style="height: 25px; width: 360px;">
                                <asp:TextBox ID="tbSerch" runat="server" MaxLength="20"></asp:TextBox>
                                <asp:Button ID="btnSerch" runat="server" Text=" 查找 " OnClick="btnSerch_Click" />
                                <asp:Button ID="btnSerchAll" runat="server" OnClick="btnSerchAll_Click" Text="查找所有" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="3">
                    <asp:DataGrid ID="g" runat="server" BackColor="#6CA4E4" CellPadding="5" Width="100%"
                        CellSpacing="1" BorderWidth="0px" AllowSorting="True" AutoGenerateColumns="False"
                        AllowPaging="True" CssClass="gStyle" OnItemDataBound="g_ItemDataBound" OnItemCommand="g_ItemCommand">
                        <FooterStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
                        <SelectedItemStyle HorizontalAlign="Center" Font-Bold="True" ForeColor="White"></SelectedItemStyle>
                        <HeaderStyle HorizontalAlign="Center" ForeColor="Navy" VerticalAlign="Middle" CssClass="gHeader">
                        </HeaderStyle>
                        <ItemStyle CssClass="gItem" BackColor="White" />
                        <Columns>
                            <asp:HyperLinkColumn DataNavigateUrlField="id" DataNavigateUrlFormatString="AdminUserEdit.aspx?id={0}"
                                DataTextField="Name" HeaderText="用户名"></asp:HyperLinkColumn>
                            <asp:BoundColumn DataField="RealityName" HeaderText="真实姓名"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Sex" HeaderText="性别"></asp:BoundColumn>
                            <asp:BoundColumn DataField="IDCardNumber" HeaderText="身份证"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Address" HeaderText="地址"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Email" HeaderText="邮箱"></asp:BoundColumn>
                            <asp:BoundColumn DataField="QQ" HeaderText="QQ" Visible="false"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Telephone" HeaderText="电话"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Mobile" HeaderText="手机"></asp:BoundColumn>
                            <asp:BoundColumn HeaderText="类别"></asp:BoundColumn>
                            <asp:BoundColumn DataField="RegisterTime" HeaderText="注册时间"></asp:BoundColumn>
                            <asp:BoundColumn DataField="LastLoginTime" HeaderText="登录时间" Visible="false"></asp:BoundColumn>
                            <asp:BoundColumn DataField="LastLoginIP" HeaderText="登录IP" Visible="false"></asp:BoundColumn>
                            <asp:BoundColumn DataField="LoginNum" HeaderText="次数" Visible="false"></asp:BoundColumn>
                            <asp:TemplateColumn HeaderText="代理商" Visible="false">
                                <ItemTemplate>
                                    <asp:CheckBox ID="cbSurrogate" runat="server" Enabled="False"></asp:CheckBox>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                            <asp:BoundColumn DataField="Balance" HeaderText="余额"></asp:BoundColumn>
                            <asp:BoundColumn DataField="BankTypeName" HeaderText="开户行" Visible="False"></asp:BoundColumn>
                            <asp:TemplateColumn HeaderText="操作">
                                <ItemTemplate>
                                    <ShoveWebUI:ShoveConfirmButton ID="btnActivation" runat="server" BorderStyle="Solid"
                                        Width="60px" BorderWidth="1px" AlertText="确定立即激活该用户吗？" Text="立即激活" Height="20px"
                                        CommandName="Activation"></ShoveWebUI:ShoveConfirmButton>
                                    <ShoveWebUI:ShoveConfirmButton ID="btnDel" runat="server" BorderStyle="Solid" Width="60px"
                                        BorderWidth="1px" AlertText="确定删除该用户吗？" Text="删除" Height="20px" CommandName="Del" Visible="false">
                                    </ShoveWebUI:ShoveConfirmButton>
                                    <ShoveWebUI:ShoveConfirmButton ID="btnEditUserNet" runat="server" BorderStyle="Solid"
                                        Width="80px" BorderWidth="1px" Text="修改网络位置" Height="20px" CommandName="EditUserNet" Visible="false">
                                    </ShoveWebUI:ShoveConfirmButton>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                            <asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
                            <asp:BoundColumn Visible="False" DataField="isSurrogate"></asp:BoundColumn>
                            <asp:BoundColumn Visible="False" DataField="UserType"></asp:BoundColumn>
                        </Columns>
                        <PagerStyle Visible="False" HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC">
                        </PagerStyle>
                    </asp:DataGrid>
                    <ShoveWebUI:ShoveGridPager ID="gPager" BorderWidth="0" CssClass="gStyle" BorderStyle="None"
                        runat="server" Width="100%" ShowSelectColumn="False" DataGrid="g" OnPageWillChange="gPager_PageWillChange"
                        OnSortBefore="gPager_SortBefore" AlternatingRowColor="White" HotColor="White"
                        GuiseColor="False" ClientNavigation="true" PageSize="10" />
                    <br>
                </td>
            </tr>
        </table>
    </font>
    </form>
</body>
</html>
